package cn.com.nes.common.util;

import java.io.File;
import java.text.SimpleDateFormat;

public class Globals {
	public static final SimpleDateFormat DATE_FORMAT_SHORT = new SimpleDateFormat(
			"yyyy-MM-dd");

	public static final SimpleDateFormat DATE_FORMAT_LONG = new SimpleDateFormat(
			"yyyy-MM-dd HH:mm:ss");

	// 每页行数
	public static final int PAGESIZE = 50;

	// 对称加密密钥
	public static final String DESKEY = "WpDExoidtvyEG9v0cl3jLnrMF5C6Cb";

	public static  String FILEREALPATH = null ;
	public static  String FILEURLPATH = null ;
	public static  String FILEALIAS = "NewGPic" ;
	//public static  String DBNAME="badegg";
	public static  String DBNAME="nes_ope_prod";

	public static  String VOD_ACCESSKEY_ID="LTAI4FsLBD9L8GCW8gQMDbv9";
	public static  String VOD_ACCESS_KEY_SECRET="mCT9IfSmGpamBCnw7jDQWJLOc7JdtP";
	public static  String OSS_RAM_ROLEARN="acs:ram::1972484603325412:role/ossrole";

	public static String MTPF_LOGINURL= "/nes-mtpf/user/loginPc" ; // 厂商平台登录接口

	public static String endpoint =    "http://oss-cn-beijing.aliyuncs.com";

	public static String dep_day="10";  //设备离线监测如果没有输入天数查询条件默认获取数据的的天数
	public static String his_day="3";  //设备历史数据查询默认查询天数
	public static String dep_onoff_statu="1";  //设备默认多少天没有数据就认为离线

	 public static String 		WEIXIN_APPID    = "wx327de6b20278e102"; // ctce_service@nes.com.cn
	 public static String		WEIXIN_APPSECRET	= "75e0a6e001e7e93e2cb7051ce05a32e6";
	 public static String       HOST 				= "http://sd.nes.com.cn" ;

		/** 获取USER TOKEN 微信 URL */
	public static final String USER_TOKEN_URL_TEMPLATE = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=#APPID#&secret=#APPSECRET#";

	//oss文件上传
	public static String endpoint_nohttp =    "oss-cn-beijing.aliyuncs.com"; //外网地址
	public static String endpoint_ww = "http://oss-cn-beijing.aliyuncs.com"; //外网地址
	//public static String endpoint =    "http://oss-cn-beijing.aliyuncs.com";


	public static String accessKeyId = "LTAI4GKkLPTWvUbQNUSi6VZy";
	public static String accessKeySecret = "QqaAaLNzA3SlF6YUceV1ddRK7DovJj";

	public static String bucketName = "nesiotserver";
	public static String bucketName_call = "nescallcenter";
	public static String bucketName_mtpf = "nesmtpf";
	public static String bucketName_ctce = "nesctce";
	public static String publicBucketName = "nes-public";

	public static  boolean ISLOCALFILE = true ;
	public static final String WEBALIAS = "CTCEmonitor" ;
	public static  String IMG_PATH = "d:"+File.separator+"AgentPlatform"+File.separator+"project"+File.separator ;
	public static String accessKeySecretRoleArn = "grAEZ43CfXuxP7yv5F71XYc3rMBngY";
	public static String roleArn = "acs:ram::20847759:role/aliyunosstokengeneratorrole";
	public static String uploadAccessKeyID = "LTAI0dNVUDWc3HYn";


	public static final String SMS_ALIYUN_APPKEY = "LTAI4FonwN8mFFcgS5Nssy22";
	public static final String SMS_ALIYUN_SECRET = "vowstPO9mUkkCdDhRUHvKSItqJLIrw";

	public static String  Map_Key = "d9f86eafdcf4ab8572c762914449f44f";
	
	public static String  InventorySummaryInterval = "Day";//Month  Day
	
	public static String publicActiveAPI = "https://heat.nes.com.cn:8202";
	//public static String publicActiveAPI = "http://localhost:8080";
	
	public static long TOKEN_TIME =  365 * 24 * 60 * 60 * 1000l;
	
	public static boolean IS_DEBUG =  false;
	
	public static String HEAT_LOGIN_URL = "https://ssl.nes.com.cn:8889/HeatingServ/services/userservice/login" ;
	
	public static String HEAT_LOGIN_PARAM = "userName=hot_cloud&pwd=hot_cloud001" ;

	public static String SHOP_REGISTER_URL = "https://shop.nes.cn:20007/api/front/login/mobile/captcha";//注册商城用户
	public static String SHOP_COUPONRECEIVE_URL = "https://shop.nes.cn/api/front/coupon/receive/getid";//插入优惠卷领取信息拿到记录id
	//public static String SHOP_COUPONRECEIVE_URL = "http://127.0.0.1:20910/api/front/coupon/receive/getid";
	
	public static String MTPF_LOGINURL_APP="http://mfep.nes.com.cn:5517/nes-mtpf/user/login" ;
	public static String MTPF_LOGINUSER="{qyzzh: 'demo00', dlyhm: '15701181001', mm: 'test1234'}" ;
	public static String DEMO_COMPANYID = "0101";

	public static String WECHAT_PAY_APPID = "wxfd6fd397d86e3784";

	public static String WECHAT_PAY_MCHID = "1601223352";

}
